9477660b6eed7cd2419d0dfc629fbd652ef74f8c,src/main/java/net/thedragonteam/armorplus/api/crafting/championbench/ShapedOreRecipe.java,ShapedOreRecipe,matches,#InventoryCrafting#World#,162
Before Change
public boolean matches(InventoryCrafting inv, World world) {
for (int x = 0; x <= MAX_CRAFT_GRID_WIDTH - width; x++) {
for (int y = 0; y <= MAX_CRAFT_GRID_HEIGHT - height; ++y) {
if (checkMatch(inv, x, y, false)) {
return true;
}
if (mirrored && checkMatch(inv, x, y, true)) {
After Change
public boolean matches(@Nonnull InventoryCrafting inv, @Nonnull World world) {
for (int x = 0; x <= MAX_CRAFT_GRID_WIDTH - width; x++) {
for (int y = 0; y <= MAX_CRAFT_GRID_HEIGHT - height; ++y) {
if (checkMatch(inv, x, y, false) || mirrored && checkMatch(inv, x, y, true)) {
return true;
}